package cn.hsa.fqz.task.service;

import cn.hsa.fqz.task.controller.vo.TTaskWorkReportDetailVO;
import cn.hsa.fqz.task.controller.vo.TTaskWorkReportQueryVO;
import cn.hsa.fqz.task.entity.TTaskWorkReport;
import cn.hsa.fqz.task.entity.TTaskWorkReportDetailAttachment;
import cn.hsa.fqz.task.service.dto.LoginUserDTO;
import cn.hsa.fqz.task.service.dto.TTaskWorkReportDetailDTO;
import cn.hsa.hsaf.core.framework.util.PageResult;
import cn.hsa.hsaf.core.framework.web.WrapperResponse;

import java.util.List;

public interface TaskReportService {

    List<TTaskWorkReport> getReportByYearmutil(String yearmutil);

    PageResult<TTaskWorkReportDetailDTO> getPageDetailByCondition(TTaskWorkReportQueryVO query);

    Boolean addRptDetail(TTaskWorkReportDetailVO vo);

    WrapperResponse<Boolean> deleteRptDetail(LoginUserDTO dto, Integer reportDetailId);

    TTaskWorkReportDetailAttachment getAttachmentByDetailAndFileNo(String fileNo, Integer detailId);
}
